package Events
{
	import flash.events.Event;

	
	public class LogicEvent extends Event
	{
		public static const TEST:String = "Test";
		
		public static const MOVE:String = "Move";
		public static const PLAYERCLICK:String = "PlayerClick";
		
		public static const MAPLOADED:String = "MapLoaded";
		public static const SCENECLICK:String = "SceneClick";
		
		public var object:Object = null;
		
		// Constructor
		public function LogicEvent( type:String, bubbles:Boolean = false, cancelable:Boolean = false ) 
		{
			// Pass constructor parameters to the superclass constructor
			super( type, bubbles, cancelable );
		}
		
		// Every custom event class must override clone()
		public override function clone():Event
		{
			return new LogicEvent( type, bubbles, cancelable );
		}
		
		public override function toString():String
		{
			return "LogicEvent";
		}

	}
}